package com.hr;

import java.util.Date;

import com.espirit.eap.util.DateUtils;

public class PunchInOut {
	private Date time;
	private long minute;

	public PunchInOut(Date time) {
		setTime(time);
	}
	
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
		this.minute = DateUtils.millsecond2Minute(this.time);
	}
	public long getMinute() {
		return minute;
	}
}
